home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 45
/
Aminet 45 (2001)(GTI - Schatztruhe)[!][Oct 2001].iso
/
Aminet
/
dev
/
e
/
yaec.lha
/
modules
/
ddebuglib.e
< prev
next >
Wrap
Text File
|
2001-08-12
|
737b
|
18 lines
OPT MODULE -> ddebuglib.e
OPT EXPORT
OPT NDDC
OPT LINK 'e:linklib/ddebug.lib' -> whatever setup ya got..
OPT XREF DGetChar, DGetNum, DMayGetChar, DPutChar, DPutStr, _KCmpStr
#macro DGetChar() (LONG) IS ASM ' bsr DGetChar'
#macro DGetNum() (LONG) IS ASM ' bsr DGetNum'
#macro DMayGetChar() (LONG) IS ASM ' bsr DMayGetChar'
#macro DPutChar(char) (LONG) IS (D0 := char) BUT ASM ' bsr DPutChar'
#macro DPutFmt(fstr,...) (VOID) IS Stores(StringF(String(1024), fstr, ...)) BUT DPutStr(Long(A7)) BUT EndString(Long(A7)) BUT Rems(SIZEOF LONG)
#macro DPutStr(str) (VOID) IS (A0 := str) BUT ASM ' bsr DPutStr'
#macro DCmpStr(string1, string2) (LONG) IS Stores(string1,string2) BUT ASM ' bsr _KCmpStr' BUT Rems(8) BUT D0
/* (LS) 2001 YAEC19 */